package com.lihua.newideas.mapper;


import com.lihua.newideas.pojo.UploadUser;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UploadUserMapper {
    //    存入文件
    
    void insert(UploadUser file);

//    根据用户名获取文件
    @Select("select * from upload_user where user_name = #{userName}")
    List<UploadUser> getAllFile(String userName);
}
